package com.situ.web.dao;

import com.situ.web.pojo.Teacher;
import com.situ.web.pojo.query.TeacherQuery;

import java.util.List;

public interface ITeacherDao {
    List<Teacher> selectByPage(TeacherQuery teacherQuery);
    Integer selectTotalCount(TeacherQuery teacherQuery);
    void deleteById(int id);

    void add(Teacher teacher);

    Teacher selectById(int id);

    void update(Teacher teacher);
}
